package pl.th.permission.plugin;

class PermissionExtension {

    // enable incremental compilation
    boolean incrementalEnabled

    // enable parallel compilation
    boolean parallelEnabled

    PermissionExtension() {
        this.incrementalEnabled = false
        this.parallelEnabled = false
    }

    PermissionExtension(boolean incrementalEnabled, boolean parallelEnabled) {
        this.incrementalEnabled = incrementalEnabled
        this.parallelEnabled = parallelEnabled
    }

    boolean getIncrementalEnabled() {
        return incrementalEnabled
    }

    void setIncrementalEnabled(boolean incrementalEnabled) {
        this.incrementalEnabled = incrementalEnabled
    }

    boolean getParallelEnabled() {
        return parallelEnabled
    }

    void setParallelEnabled(boolean parallelEnabled) {
        this.parallelEnabled = parallelEnabled
    }


    @Override
    public String toString() {
        return "PermissionExtension{" +
                "incrementalEnabled=" + incrementalEnabled +
                ", parallelEnabled=" + parallelEnabled +
                '}';
    }
}
